﻿using System;
using YmtAuth.Dto;

namespace YmtAuth.AppService
{
    public interface ILoginLogAppService
    {
        void AppendLog(LoginLogRequestDto dto);
        ResponseData<LoginLogRequestDto> FindOne(int userId);
        ResponseData<LoginLogRequestDto> FindOne(int userId, int index, int limit, DateTime beginTime, DateTime endTime);
    }
}
